package com.impetus.project.skilltest.common.dataobject;


import java.io.Serializable;
import java.sql.Timestamp;

import com.google.gwt.user.client.rpc.IsSerializable;

public class ScheduledTest  implements IsSerializable, Serializable
{
	
	private static final long serialVersionUID = -6900120019580888L;
	
	private String testid;
	private String candidateid;
	private String qType;
	private Timestamp startTime ;
	private Timestamp expirationTime ;
	private int testDurationMins ;
	private int questionCount ;
	private String qDomains;
	private String complexity;
	private String status;
	private int maxMarks ;
	private int score ;
	private int questionsAttempted ;
	private int timeTakenMins ;
	private boolean isEnabled;
	private String createdby;
	private Timestamp createdon ;
	private String modifiedby;
	private Timestamp modifiedon ;
	
	public String getTestid() {
		return testid;
	}
	public void setTestid(String testid) {
		this.testid = testid;
	}
	public String getCandidateid() {
		return candidateid;
	}
	public void setCandidateid(String candidateID) {
		this.candidateid = candidateID;
	}
	public String getqType() {
		return qType;
	}
	public void setqType(String qType) {
		this.qType = qType;
	}
	public Timestamp getStartTime() {
		return startTime;
	}
	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}
	public Timestamp getExpirationTime() {
		return expirationTime;
	}
	public void setExpirationTime(Timestamp expirationTime) {
		this.expirationTime = expirationTime;
	}
	public int getTestDurationMins() {
		return testDurationMins;
	}
	public void setTestDurationMins(int testDurationMin) {
		this.testDurationMins = testDurationMin;
	}
	public int getQuestionCount() {
		return questionCount;
	}
	public void setQuestionCount(int questionCount) {
		this.questionCount = questionCount;
	}
	public String getqDomains() {
		return qDomains;
	}
	public void setqDomains(String qDomains) {
		this.qDomains = qDomains;
	}
	public String getComplexity() {
		return complexity;
	}
	public void setComplexity(String complexity) {
		this.complexity = complexity;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public int getMaxMarks() {
		return maxMarks;
	}
	public void setMaxMarks(int maxMarks) {
		this.maxMarks = maxMarks;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public int getQuestionsAttempted() {
		return questionsAttempted;
	}
	public void setQuestionsAttempted(int questionAttempted) {
		this.questionsAttempted = questionAttempted;
	}
	public int getTimeTakenMins() {
		return timeTakenMins;
	}
	public void setTimeTakenMins(int timeTakenMin) {
		this.timeTakenMins = timeTakenMin;
	}
	public boolean getIsEnabled() {
		return isEnabled;
	}
	public void setIsEnabled(boolean isEnabled) {
		this.isEnabled = isEnabled;
	}
	public String getCreatedby() {
		return createdby;
	}
	public void setCreatedby(String createdBy) {
		this.createdby = createdBy;
	}	
	public Timestamp getCreatedon() {
		return createdon;
	}
	public void setCreatedon(Timestamp createdOn) {
		this.createdon = createdOn;
	}
	public String getModifiedby() {
		return modifiedby;
	}
	public void setModifiedby(String modifiedBy) {
		this.modifiedby = modifiedBy;
	}
	public Timestamp getModifiedon() {
		return modifiedon;
	}
	public void setModifiedon(Timestamp modifiedOn) {
		this.modifiedon = modifiedOn;
	}
	
	@Override
	public String toString() {
		return "ScheduledTest [candidateid=" + candidateid + ", complexity="
				+ complexity + ", createdby=" + createdby + ", createdon="
				+ createdon + ", expirationTime=" + expirationTime
				+ ", isEnabled=" + isEnabled + ", maxMarks=" + maxMarks
				+ ", modifiedby=" + modifiedby + ", modifiedon=" + modifiedon
				+ ", qDomains=" + qDomains + ", qType=" + qType
				+ ", questionCount=" + questionCount + ", questionsAttempted="
				+ questionsAttempted + ", score=" + score + ", startTime="
				+ startTime + ", status=" + status + ", testDurationMins="
				+ testDurationMins + ", testid=" + testid + ", timeTakenMins="
				+ timeTakenMins + "]";
	}
}
